package com.gitee.jmliu1983.finacehelper.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.common.core.domain.BaseEntity;
//import com.ruoyi.common.core.annotation.Excel;
//import com.ruoyi.common.core.web.domain.BaseEntity;
import com.ruoyi.common.annotation.Excel;

/**
 * 账户管理对象 account
 * 
 * @author ruoyi
 * @date 2025-02-27
 */
public class Account extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 账户id */
    @Excel(name = "账户id")
    private Long accountId;

    /** 账户名称 */
    @Excel(name = "账户名称")
    private String name;

    public void setAccountId(Long accountId) 
    {
        this.accountId = accountId;
    }

    public Long getAccountId() 
    {
        return accountId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("accountId", getAccountId())
            .append("name", getName())
            .toString();
    }
}
